﻿using CustomControls.ButtonCtr.Base;
using CustomControls.ButtonCtr;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;

namespace CustomControls.RadioButtonCtr
{
    public class LayRadioButtonCtr:RadioButton
    {
        /// <summary>
        /// 按钮类型
        /// </summary>
        [Bindable(true)]
        public ButtonStyle Type
        {
            get { return (ButtonStyle)GetValue(TypeProperty); }
            set { SetValue(TypeProperty, value); }
        }

        // Using a DependencyProperty as the backing store for MyProperty.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty TypeProperty =
        DependencyProperty.Register("Type", typeof(ButtonStyle), typeof(LayRadioButtonCtr), new PropertyMetadata(ButtonStyle.Default));

    }
}
